package com.tarena.lbs.message.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.message.pojo.query.MessageQuery;
import com.tarena.lbs.message.pojo.vo.MessageVO;

public interface MessageService {
    PageResult<MessageVO> selectNewMessages(MessageQuery query);
    PageResult<MessageVO> selectAllMessages();
    void deleteById(Integer id);
    void updateMsgStatus(Integer id) throws BusinessException;
}
